﻿//
//  GNS_MakeLayer.h
//  MobileManage
//  FuncTion 遮罩层
//  Created by mr.l on 16/1/25.
//
//

#ifndef __MobileManage__GNS_MakeLayer__
#define __MobileManage__GNS_MakeLayer__
#include "cocos2d.h"
#include "ui/CocosGUI.h"
USING_NS_CC;
using namespace ui;
class GNS_MakeLayer : public cocos2d::Layer
{
public:
    GNS_MakeLayer();
    ~GNS_MakeLayer();
    static GNS_MakeLayer * CreateMakeLayer(std::string HintText);
    virtual bool init();
    CREATE_FUNC(GNS_MakeLayer);
    void AutoClose(float dt);
    void Show(bool bShow);
private:
    void SetHintText(std::string HintText);
    Label * pText;
    Sprite * pWaiting;
    EventListenerTouchOneByOne *listener;
    
};
#endif /* defined(__MobileManage__GNS_MakeLayer__) */
